<template>
	<view class="h-screen flex flex-col">
		<web-view :webview-styles="webviewStyles" :src="src"></web-view>
	</view>
</template>
<script setup>
	import {
		ref,
	} from 'vue';
	import {
		onLoad,
	} from "@dcloudio/uni-app"

	const src = ref('')
	const webviewStyles = ref({
		progress: {
			color: '#329EFF'
		}
	})
	onLoad((option) => {
		src.value = option.src
	})
</script>
<style lang="scss" scoped>
</style>